﻿@using TinyMoocSite.ViewModels
@model ChangePasswordForm

@{
    ViewBag.Title = "修改密码";
    Layout = "~/Views/Shared/DefaultLayout.cshtml";
}

@section FullContainer
{
    <div class="col-sm-offset-3 col-sm-6">
        <h3 class="text-center">修改密码</h3>
        <form role="form" action="/Default/DoChangePassword" method="post" class="update-form form-horizontal">
            <div class="form-group">
                <label for="form-website" class="col-sm-3 control-label">新密码</label>
                <div class="col-sm-9">
                    <input type="password" name="NewPassword" class="form-control" id="form-password">
                </div>
            </div>
            <div class="form-group">
                <label for="form-prof-title" class="col-sm-3 control-label">密码确认</label>
                <div class="col-sm-9">
                    <input type="password" name="ConfirmedPassword" class="form-control" id="form-confirm">
                </div>
            </div>
            <br /><br />
            <div class="text-center">
                <button type="submit" class="btn btn-default">更新密码</button>
                &nbsp;&nbsp;
                <button type="button" class="btn btn-default" onclick="history.back();">返回</button>
            </div>
            <br /><br />
        </form>
    </div>
}

